package io.aircraft.modules.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
@Data
@ApiModel(value = "信号变化")
public class NoticeByWcsDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "请求Pk")
    @NotBlank(message = "请求pk不能为空")
    private String requestPk;

    @ApiModelProperty(value = "放行站台")
    @NotBlank(message = "站台编号不能为空")
    @Size(max = 32, message = "站台编号不能超过32位")
    private String curPos;

    @ApiModelProperty(value = "放行数量")
    @Min(value = 1,message = "放行数量必须大于[1]")
    private String amount;

    @ApiModelProperty(value = "客户端编号")
    private String clientCode;
    @ApiModelProperty(value = "请求时间")
    private String reqTime;
}
